// 维修管理路由
import Main from '@/components/main'
export const repairRouter = [{
  path: '/repair',
  name: 'repair',
  meta: {
    icon: '_iconorder',
    title: '维修管理',
    showAlways: true,
    snMenu: 'repair',
    sn: 'moms:assets:machineconfigview|moms:assets:machineconfigexport'
  },
  component: Main,
  children: [
    {
      path: 'report_list',
      name: 'repair_report_list',
      meta: {
        title: '机台程序上报',
        snMenu: 'repair_report_list',
        sn: 'moms:assets:machineconfigview'
      },
      component: () => import('@/view/asset/repair/report/list.vue')
    },
    {
      path: 'report_detail',
      name: 'repair_report_detail',
      meta: {
        title: '机台程序上报详情',
        snMenu: 'repair_report_detail',
        sn: 'moms:assets:machineconfigview',
        hideInMenu: true,
        notCache: true
      },
      component: () => import('@/view/asset/repair/report/detail.vue')
    }
  ]
}]
